var yhChartOption = {
    tooltip: {
          trigger: 'axis',
          axisPointer: {
            animation: false
          }
        },
        axisPointer: {
          link: { xAxisIndex: 'all' }
        },
        grid: [{
          top: 20,
          left: 60,
          right: 30,
          height: '40%'
        }, {
          left: 60,
          right: 30,
          bottom: 20,
          height: '40%'
        }],
        xAxis: [
          {
            type: 'category',
            boundaryGap: false,
            // axisLine: { onZero: true },
            data: [],
            position: 'bottom',
            show: false,
            axisLine: { // y轴
              show: false
            },
            axisTick: { // y轴刻度线
              show: false
            }
          },
          {

            type: 'category',
            boundaryGap: false,
            // axisLine: { onZero: true },
            data: [],
            position: 'bottom',
            gridIndex: 1,
            axisLine: { // y轴
              show: false
            },
            axisTick: { // y轴刻度线
              show: false
            }
          }
        ],
        yAxis: [
          {
            name: '降雨量(mm)',
            type: 'value',
            inverse: true,
            max: 100,
            min: 0,
            nameLocation: 'middle',
            nameGap: 40,
            axisLine: { // y轴
              show: false
            },
            axisTick: { // y轴刻度线
              show: false
            }
          },
          {

            name: '水位(m)',
            type: 'value',
            gridIndex: 1,
            max: 500,
            min: 0,
            nameLocation: 'middle',
            nameGap: 40,
            axisLine: { // y轴
              show: false
            },
            axisTick: { // y轴刻度线
              show: false
            }
          }
        ],
        series: [
          {
            name: '降雨量',
            type: 'bar',
            barWidth: '6%',
            symbolSize: 8,
            itemStyle: {
              color: '#0FE29F'
            },
            hoverAnimation: false,
            data: []
          },
          {
            name: '水位',
            type: 'line',
            xAxisIndex: 1,
            yAxisIndex: 1,
            symbolSize: 8,
            hoverAnimation: false,
            itemStyle: {
              color: '#6B9BFE'
            },
            areaStyle: {
              normal: { color: '#a4bff7' }
            },
            data: []
          }
        ]
}